home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 9
/
The PC-SIG Library on CD ROM - Ninth Edition.iso
/
901_1000
/
DISK0961
/
DISK0961.ZIP
/
DOC.BAS
< prev
next >
Wrap
BASIC Source File
|
1987-01-01
|
740b
|
17 lines
5 KEY OFF: INPUT "What is today's date (mm/dd/yy)";TODAY$:DATE$=TODAY$
10 CLS:PRINT "This program assumes that you have a printer with continuous"
20 PRINT "forms in it for printing the manual. Please strike any key to"
30 LINE INPUT "continue. Make sure the file 'MINI.DOC' is in Drive B...";A$
40 LPRINT CHR$(12): PG.CNT=2
50 OPEN "B:MINI.DOC" FOR INPUT AS #1
55 WHILE NOT EOF(1)
60 LINE INPUT #1,A$
70 LPRINT A$
80 LINES=LINES+1: IF LINES=55 THEN GOSUB 1000
90 WEND
100 CLOSE:OPEN "autoexec.bat" FOR OUTPUT AS #1: PRINT #1,"BASICA MINI": PRINT #1,CHR$(26): CLOSE:CHAIN "Mini",50,ALL
110 END
1000 LPRINT CHR$(12)
1010 LPRINT "Mini-Manual"; TAB(55); "Page "; PG.CNT:PG.CNT=PG.CNT+1
1020 LPRINT:LPRINT:LINES =3:RETURN